package com.haiyi.activiti.engine.framework.database;

import com.baomidou.mybatisplus.mapper.BaseMapper;

import java.io.Serializable;
import java.util.List;

/**
 * <p> </p>
 *
 * <pre> Created: 2018/12/5 10:51 </pre>
 *
 * @author hlu
 * @version 1.0
 * @since JDK 1.7
 */
public interface HaiyiMapper<T extends Serializable,Q extends Query> extends BaseMapper<T> {

    List<T> query(Q userQuery);

    Long count(Q userQuery);
}
